home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / files / objects.i < prev    next >
Encoding:
Text File  |  1997-09-17  |  1.1 KB  |  48 lines

  1.     IFND FILES_OBJECTS_I
  2. FILES_OBJECTS_I  SET  1
  3.  
  4. **
  5. **  $VER: objects.i V0.8B
  6. **
  7. **  Object definitions.
  8. **
  9. **  (C) Copyright 1996-1997 DreamWorld Productions.
  10. **      All Rights Reserved.
  11. **
  12. **
  13.  
  14.     IFND    DPKERNEL_I
  15.     include 'games/dpkernel.i'
  16.     ENDC
  17.  
  18. ******************************************************************************
  19. * Entry stucture for GetObjectList().
  20.  
  21.     STRUCTURE    ObjectEntry,0
  22.     APTR    OE_Name           ;Pointer to the name, may be NULL.
  23.     APTR    OE_Object         ;Object is returned here.
  24.     LABEL    OE_SIZEOF
  25.  
  26.     STRUCTURE    DataHeader,0      ;Data header for each object.
  27.     LONG    DH_Type           ;Type of object, eg STRC, CODE, DATA.
  28.     LONG    DH_Next           ;Offset towards next object.
  29.     LABEL    DH_Name           ;The name of the object.
  30.  
  31. ******************************************************************************
  32. * Object-File.
  33.  
  34. OBJVERSION      = 1
  35. TAGS_OBJECTFILE = ((ID_SPCTAGS<<16)|ID_OBJECTFILE)
  36.  
  37.     STRUCTURE    OBJ,HEAD_SIZEOF
  38.     APTR    OBJ_Source
  39.     APTR    OBJ_Segments
  40.     APTR    OBJ_Data
  41.     LABEL    OBJ_SIZEOF
  42.  
  43. OBJA_Source   = (TAPTR|OBJ_Source)
  44. OBJA_Segments = (TAPTR|OBJ_Segments)
  45. OBJA_Data     = (TAPTR|OBJ_Data)
  46.  
  47.   ENDC ;FILES_OBJECTS_I
  48.